
/**
 *	实体类
 */
public class User {
	// 属性
	private int id;
	private String name;
	private int age;
	private String gender;
	
	public int getAge() {
		return age;
	}
	
	public void setAge(int age) {
		if (age >= 1 && age <= 120) {
			this.age = age;
		}
	}
	
	
	

}
